<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$document->getBaseUrl()}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/960.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/backend/admin.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/backend/bottom_bar.css" media="screen" />
<script language="javascript" src="js/jquery-1.4.1.min.js" type="text/javascript"></script>
<title>{$document->title}</title>
</head>
<body>
<div class="container_16 clearfix">
	<!-- header -->
	<div id="header" class="grid_16">
		<div id="site-heading" class="grid_12 alpha">
			<h1>Flywheel CMS</h1>
			<img src="images/backend/icon/dashboard-gray.png" alt="dashboard" /> <a href="{$document->getBaseUrl()}" title="dashboard">Admin Control Panel</a>
		</div>
		<div id="admin-link" class="grid_4 align-right omega">
			{$lang->__('hi')} <a href="{$profilesLink}" title="{$lang->_('Edit profiles')}">{$username}</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
			<a href="{$smarty.const._WEBSITE_LINK_}" title="{$lang->_('View site')}" target="_blank">{$lang->_('View site')}</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
			<a href="{$logoutLink}" title="{$lang->_('logout')}">{$lang->_('logout')}</a>
		</div>
	</div>
	<!--/header -->
	<!-- main content -->
	<div id="main-content" class="grid_16">
		<div id="slidebar" class="grid_3 alpha">
			{$document->block('left')}
		</div>
		<div id="component" class="grid_13 omega">
			{$document->getComponentData()}
		</div>
	</div>
	
	{$document->block('bottom')}
	
	<!--/main content -->
	<!-- footer -->
	<div id="footer" class="grid_16">
		<p>
			&copy; 2010 by <a href="mailto:tronghieu1012@yahoo.com">Flywheel Team</a>. All Rights Reserved.
		</p>
	</div>
	<!--/footer -->
</div>
<script language="javascript" src="js/admin.js" type="text/javascript"></script>
</body>
</html>
